package com.de.juxfux.io;

import java.io.File;
import java.io.FileFilter;


public class Filefilter implements FileFilter {
	private String fileExtension;

	public Filefilter (String fileExtension) {
		this.fileExtension = fileExtension;
	}
	
	
	@Override
	public boolean accept(File file) {
		return file.getName().endsWith(fileExtension);
	}
	
}